﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Veracruz.DataContracts
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract(Name = "FindUsersCriteria", Namespace = Namespaces.DataContract)]
    public class FindUsersCriteria
    {
        [DataMember(Name = "EmailToMatch", Order = 0, IsRequired = false, EmitDefaultValue=false)]
        public string EmailToMatch { get; set; }
        [DataMember(Name = "NameToMatch", Order = 1, IsRequired = false, EmitDefaultValue = false)]
        public string NameToMatch { get; set; }
        [DataMember(Name = "Pageindex", Order = 2, IsRequired = false, EmitDefaultValue = false)]
        public int PageIndex { get; set; }
        [DataMember(Name = "PageSize", Order = 3, IsRequired = false, EmitDefaultValue = false)]
        public int PageSize { get; set; }
    }
}
